package com.niiwoo.activity.stage.dto.request.prize;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * Created by dengyunhui on 2017/11/28.
 */
@Setter
@Getter
public class BatchPublishReqDTO implements Serializable {

    private List<Long> prizeSendPreIds;
    private List<Long> cancelIds;
    private Byte needCheck;
    private Byte needSendNotice;
    private Long updateManager;
    private String updateManagerName;
    private Date updateTime;

    @AllArgsConstructor
    @Getter
    public enum NeedCheckEnum {

        NO(Byte.valueOf("0"), "不需要检查"),
        YES(Byte.valueOf("1"), "需要检查");

        private Byte code;
        private String desc;
    }

    @AllArgsConstructor
    @Getter
    public enum NeedSendNoticeEnum {

        NO(Byte.valueOf("0"), "不需要发送通知"),
        YES(Byte.valueOf("1"), "需要发送通知");

        private Byte code;
        private String desc;
    }
}
